<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
    <title>PolarOfflineRecordingApi </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="dc.created" content="2020-03-25">
    <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../dokka-javadoc-stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
    <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
    <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>

    <script type="text/javascript" src="../../../../search.js"></script>
    <script async type="text/javascript" src="../../../../module-search-index.js"></script>
    <script async type="text/javascript" src="../../../../package-search-index.js"></script>
    <script async type="text/javascript" src="../../../../type-search-index.js"></script>
    <script async type="text/javascript" src="../../../../member-search-index.js"></script>
    <script async type="text/javascript" src="../../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../../";
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
    <nav role="navigation">
        <div class="fixedNav">
            <!-- ========= START OF TOP NAVBAR ======= -->
            <div class="topNav"><a id="navbar.top">
                <!--   -->
            </a>
                <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
                </div>
                <a id="navbar.top.firstrow">
                    <!--   -->
                </a>
                <ul class="navList" title="Navigation">
    <li><a href="../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
            <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>

<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
        </div>
        <div class="navPadding">&nbsp;</div>
        <script type="text/javascript"><!--
        $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        //-->
        </script>
    </nav>
</header>

<main role="main">
    <div class="header">
        <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
        <h2 title="Interface PolarOfflineRecordingApi" class="title">Interface PolarOfflineRecordingApi</h2>
    </div>
    <div class="contentContainer">
        <!-- <ul class="inheritance">
            <li>java.lang.Object</li>
            <li>
                <ul class="inheritance">
                    <li>adaptation.Adaptation</li>
                </ul>
            </li>
        </ul> TODO inheritance tree -->
        <div class="description">
            <ul class="blockList">
                <li class="blockList">
                    
                    <dl>
                        <dt>All Implemented Interfaces:</dt>
                        <dd>
                            
                        </dd>
                    </dl>
                    
                    <hr>
                    <pre class="wrap-overflow">

public interface <span class="typeNameLabel"><a href=PolarOfflineRecordingApi.html>PolarOfflineRecordingApi</a></span>

                    </pre>
                    <div class="block"><p>Offline recording API.</p><p>Offline recording makes it possible to record <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> data to device memory. With Offline recording the Polar device and phone don't need to be connected all the time, as offline recording continues in Polar device even the BLE disconnects.</p><p>Offline records saved into the device can be encrypted. The <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> is provided for <a href=PolarOfflineRecordingApi.html#startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)>startOfflineRecording</a> and <a href=PolarOfflineRecordingApi.html#setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)>setOfflineRecordingTrigger</a> when encryption is wanted. The <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> with same key must be provided in <a href=PolarOfflineRecordingApi.html#getOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)>getOfflineRecord</a> to correctly decrypt the data in the device.</p><p>Requires features <a href=PolarBleApi.PolarBleSdkFeature.html#FEATURE_POLAR_OFFLINE_RECORDING>FEATURE_POLAR_OFFLINE_RECORDING</a></p><p>Note, offline recording is supported in Polar Verity Sense device (starting from firmware version 2.1.0)</p></div>
                </li>
            </ul>
        </div>
        <div class="summary">
            <ul class="blockList">
                <li class="blockList">
                <!-- ======== NESTED CLASS SUMMARY ======== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="nested.class.summary">
                                <!--   -->
                            </a>
                                <h3>Nested Class Summary</h3>
                                <div class="memberSummary">
                                    <table>
                                        <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Class</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                    </table>
                                </div>
                            </li>
                        </ul>
                    </section>
                    
                    <!-- =========== FIELD SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="field.summary">
                                <!--   -->
                            </a>
                                <h3>Field Summary</h3>
                                <div class="memberSummary">
                                    <table>
                                        <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Field</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                    </table>
                                </div>
                            </li>
                        </ul>
                    </section>
                    
                    <!-- ======== CONSTRUCTOR SUMMARY ======== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="constructor.summary">
                                <!--   -->
                            </a>
                                <h3>Constructor Summary</h3>
                                <div class="memberSummary">
                                    <table>
                                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                                        <tbody>
                                        <tr>
                                            <th class="colFirst" scope="col">Constructor</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>

                                        

                                        </tbody>
                                    </table>
                                </div>
                            </li>
                        </ul>
                    </section>
                    
                    <!-- =========== ENUM CONSTANT SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="enum.constant.summary">
                                <!--   -->
                            </a>
                                <h3>Enum Constant Summary</h3>
                                <table class="memberSummary">
                                    <caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
                                    <tr>
                                        <th class="colFirst" scope="col">Enum Constant</th>
                                        <th class="colLast" scope="col">Description</th>
                                    </tr>
                                    
                                </table>
                            </li>
                        </ul>
                    </section>
                    
                    <!-- ========== METHOD SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.summary">
                                <!--   -->
                            </a>
                                <h3>Method Summary</h3>
                                <div class="memberSummary">
                                    <div role="tablist" aria-orientation="horizontal">
                                        <button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
                                        <!-- TODO: Instance and Concrete Methods #1118 -->
                                    </div>
                                    <div id="memberSummary_tabpanel" role="tabpanel">
                                    <table aria-labelledby="t0">
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Method</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                        <tr id="i0" class="altColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=https://developer.android.com/reference/kotlin/java/util/Set.html>Set</a>&lt;<a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a>&gt;&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#getAvailableOfflineRecordingDataTypes(String)>getAvailableOfflineRecordingDataTypes</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier) </code>
                                            </th>
                                            <td class="colLast">Get the data types available in this device for offline recording</td>
                                        </tr>
                                        
                                        <tr id="i1" class="rowColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=model/PolarSensorSetting.html>PolarSensorSetting</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#requestOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)>requestOfflineRecordingSettings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature) </code>
                                            </th>
                                            <td class="colLast">Request the offline recording settings available in current operation mode.</td>
                                        </tr>
                                        
                                        <tr id="i2" class="altColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=model/PolarSensorSetting.html>PolarSensorSetting</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#requestFullOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)>requestFullOfflineRecordingSettings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature) </code>
                                            </th>
                                            <td class="colLast">Request all the settings available in the device.</td>
                                        </tr>
                                        
                                        <tr id="i3" class="rowColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a>&gt;&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#getOfflineRecordingStatus(String)>getOfflineRecordingStatus</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier) </code>
                                            </th>
                                            <td class="colLast">Get current offline recording status.</td>
                                        </tr>
                                        
                                        <tr id="i4" class="altColor">
                                            <td class="colFirst"><code>abstract Flowable&lt;<a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#listOfflineRecordings(String)>listOfflineRecordings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier) </code>
                                            </th>
                                            <td class="colLast">List offline recordings stored in the device.</td>
                                        </tr>
                                        
                                        <tr id="i5" class="rowColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=model/PolarOfflineRecordingData.html>PolarOfflineRecordingData</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#getOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)>getOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret) </code>
                                            </th>
                                            <td class="colLast">Fetch recording from the Polar device.</td>
                                        </tr>
                                        
                                        <tr id="i6" class="altColor">
                                            <td class="colFirst"><code>abstract Flowable&lt;<a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#listSplitOfflineRecordings(String)>listSplitOfflineRecordings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier) </code>
                                            </th>
                                            <td class="colLast">List split offline recordings stored in the device.</td>
                                        </tr>
                                        
                                        <tr id="i7" class="rowColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=model/PolarOfflineRecordingData.html>PolarOfflineRecordingData</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#getSplitOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)>getSplitOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret) </code>
                                            </th>
                                            <td class="colLast">Fetch split recording from the Polar device.</td>
                                        </tr>
                                        
                                        <tr id="i8" class="altColor">
                                            <td class="colFirst"><code>abstract Completable</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#removeOfflineRecord(String,PolarOfflineRecordingEntry)>removeOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry) </code>
                                            </th>
                                            <td class="colLast">Removes offline recording from the device</td>
                                        </tr>
                                        
                                        <tr id="i9" class="rowColor">
                                            <td class="colFirst"><code>abstract Completable</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)>startOfflineRecording</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature, <a href=model/PolarSensorSetting.html>PolarSensorSetting</a> settings, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret) </code>
                                            </th>
                                            <td class="colLast">Start offline recording.</td>
                                        </tr>
                                        
                                        <tr id="i10" class="altColor">
                                            <td class="colFirst"><code>abstract Completable</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#stopOfflineRecording(String,PolarBleApi.PolarDeviceDataType)>stopOfflineRecording</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature) </code>
                                            </th>
                                            <td class="colLast">Request to stop offline recording.</td>
                                        </tr>
                                        
                                        <tr id="i11" class="rowColor">
                                            <td class="colFirst"><code>abstract Completable</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)>setOfflineRecordingTrigger</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingTrigger.html>PolarOfflineRecordingTrigger</a> trigger, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret) </code>
                                            </th>
                                            <td class="colLast">Sets the offline recording triggers for a given Polar device.</td>
                                        </tr>
                                        
                                        <tr id="i12" class="altColor">
                                            <td class="colFirst"><code>abstract Single&lt;<a href=model/PolarOfflineRecordingTrigger.html>PolarOfflineRecordingTrigger</a>&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=PolarOfflineRecordingApi.html#getOfflineRecordingTriggerSetup(String)>getOfflineRecordingTriggerSetup</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier) </code>
                                            </th>
                                            <td class="colLast">Retrieves the current offline recording trigger setup in the device.</td>
                                        </tr>
                                        
                                        </tbody>
                                    </table>
                                </div>
                                <ul class="blockList">
                                
                                    <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
                                        <!--   -->
                                    </a>
                                        <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
                                        <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
                                            wait, wait, wait</code></li>
                                </ul>
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
        <div class="details">
            <ul class="blockList">
                <li class="blockList">
                    <!-- ========= CONSTRUCTOR DETAIL ======== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="constructor.detail">
                                <!--   -->
                            </a>
                                <h3>Constructor Detail</h3>
                                
                            </li>
                        </ul>
                    </section>
                    
                    <!-- ============ METHOD DETAIL ========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.detail">
                                <!--   -->
                            </a>
                                <h3>Method Detail</h3>
                                
                                <a id="getAvailableOfflineRecordingDataTypes(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getAvailableOfflineRecordingDataTypes</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=https://developer.android.com/reference/kotlin/java/util/Set.html>Set</a>&lt;<a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a>&gt;&gt; <a href=PolarOfflineRecordingApi.html#getAvailableOfflineRecordingDataTypes(String)>getAvailableOfflineRecordingDataTypes</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier)</pre>
                                        <div class="block"><p>Get the data types available in this device for offline recording</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="requestOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestOfflineRecordingSettings</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=model/PolarSensorSetting.html>PolarSensorSetting</a>&gt; <a href=PolarOfflineRecordingApi.html#requestOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)>requestOfflineRecordingSettings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature)</pre>
                                        <div class="block"><p>Request the offline recording settings available in current operation mode. This request shall be used before the offline recording is started to decide currently available settings. The available settings depend on the state of the device.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - polar device id or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>feature</code> - the stream feature of interest</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="requestFullOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>requestFullOfflineRecordingSettings</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=model/PolarSensorSetting.html>PolarSensorSetting</a>&gt; <a href=PolarOfflineRecordingApi.html#requestFullOfflineRecordingSettings(String,PolarBleApi.PolarDeviceDataType)>requestFullOfflineRecordingSettings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature)</pre>
                                        <div class="block"><p>Request all the settings available in the device. The request returns the all capabilities of the requested streaming feature not limited by the current operation mode.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - polar device id or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>feature</code> - the stream feature of interest</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getOfflineRecordingStatus(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getOfflineRecordingStatus</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a>&gt;&gt; <a href=PolarOfflineRecordingApi.html#getOfflineRecordingStatus(String)>getOfflineRecordingStatus</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier)</pre>
                                        <div class="block"><p>Get current offline recording status.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - polar device id or bt address</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="listOfflineRecordings(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>listOfflineRecordings</h4>
                                        <pre class="methodSignature"> abstract Flowable&lt;<a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a>&gt; <a href=PolarOfflineRecordingApi.html#listOfflineRecordings(String)>listOfflineRecordings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier)</pre>
                                        <div class="block"><p>List offline recordings stored in the device.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getOfflineRecord</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=model/PolarOfflineRecordingData.html>PolarOfflineRecordingData</a>&gt; <a href=PolarOfflineRecordingApi.html#getOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)>getOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret)</pre>
                                        <div class="block"><p>Fetch recording from the Polar device.</p><p>Note, the fetching of the recording may take several seconds if the recording is big.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>entry</code> - The offline recording to be fetched</dd>
                                            
                                            
                                            
                                            <dd><code>secret</code> - If the secret is provided in <a href=PolarOfflineRecordingApi.html#startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)>startOfflineRecording</a> or <a href=PolarOfflineRecordingApi.html#setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)>setOfflineRecordingTrigger</a> then the same secret must be provided when fetching the offline record</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="listSplitOfflineRecordings(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>listSplitOfflineRecordings</h4>
                                        <pre class="methodSignature"> abstract Flowable&lt;<a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a>&gt; <a href=PolarOfflineRecordingApi.html#listSplitOfflineRecordings(String)>listSplitOfflineRecordings</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier)</pre>
                                        <div class="block"><p>List split offline recordings stored in the device.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getSplitOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getSplitOfflineRecord</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=model/PolarOfflineRecordingData.html>PolarOfflineRecordingData</a>&gt; <a href=PolarOfflineRecordingApi.html#getSplitOfflineRecord(String,PolarOfflineRecordingEntry,PolarRecordingSecret)>getSplitOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret)</pre>
                                        <div class="block"><p>Fetch split recording from the Polar device.</p><p>Note, the fetching of the recording may take several seconds if the recording is big.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>entry</code> - The offline recording to be fetched</dd>
                                            
                                            
                                            
                                            <dd><code>secret</code> - If the secret is provided in <a href=PolarOfflineRecordingApi.html#startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)>startOfflineRecording</a> or <a href=PolarOfflineRecordingApi.html#setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)>setOfflineRecordingTrigger</a> then the same secret must be provided when fetching the offline record</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="removeOfflineRecord(String,PolarOfflineRecordingEntry)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>removeOfflineRecord</h4>
                                        <pre class="methodSignature"> abstract Completable <a href=PolarOfflineRecordingApi.html#removeOfflineRecord(String,PolarOfflineRecordingEntry)>removeOfflineRecord</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingEntry.html>PolarOfflineRecordingEntry</a> entry)</pre>
                                        <div class="block"><p>Removes offline recording from the device</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>entry</code> - entry to be removed</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>startOfflineRecording</h4>
                                        <pre class="methodSignature"> abstract Completable <a href=PolarOfflineRecordingApi.html#startOfflineRecording(String,PolarBleApi.PolarDeviceDataType,PolarSensorSetting,PolarRecordingSecret)>startOfflineRecording</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature, <a href=model/PolarSensorSetting.html>PolarSensorSetting</a> settings, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret)</pre>
                                        <div class="block"><p>Start offline recording.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>feature</code> - the feature to be started</dd>
                                            
                                            
                                            
                                            <dd><code>settings</code> - settings for the started offline recording.</dd>
                                            
                                            
                                            
                                            <dd><code>secret</code> - if the secret is provided the offline recordings are encrypted in device</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="stopOfflineRecording(String,PolarBleApi.PolarDeviceDataType)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>stopOfflineRecording</h4>
                                        <pre class="methodSignature"> abstract Completable <a href=PolarOfflineRecordingApi.html#stopOfflineRecording(String,PolarBleApi.PolarDeviceDataType)>stopOfflineRecording</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=PolarBleApi.PolarDeviceDataType.html>PolarBleApi.PolarDeviceDataType</a> feature)</pre>
                                        <div class="block"><p>Request to stop offline recording.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - polar device id</dd>
                                            
                                            
                                            
                                            <dd><code>feature</code> - which is stopped</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>setOfflineRecordingTrigger</h4>
                                        <pre class="methodSignature"> abstract Completable <a href=PolarOfflineRecordingApi.html#setOfflineRecordingTrigger(String,PolarOfflineRecordingTrigger,PolarRecordingSecret)>setOfflineRecordingTrigger</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier, <a href=model/PolarOfflineRecordingTrigger.html>PolarOfflineRecordingTrigger</a> trigger, <a href=model/PolarRecordingSecret.html>PolarRecordingSecret</a> secret)</pre>
                                        <div class="block"><p>Sets the offline recording triggers for a given Polar device. The offline recording can be started automatically in the device by setting the triggers. The changes to the trigger settings will take effect on the next device startup.</p><p>Automatically started offline recording can be stopped by <a href=PolarOfflineRecordingApi.html#stopOfflineRecording(String,PolarBleApi.PolarDeviceDataType)>stopOfflineRecording</a>. Also if user switches off the device power, the offline recording is stopped but starts again once power is switched on and the trigger event happens.</p><p>Trigger functionality can be disabled by setting <a href=model/PolarOfflineRecordingTriggerMode.html#TRIGGER_DISABLED>PolarOfflineRecordingTriggerMode.TRIGGER_DISABLED</a>, the already running offline recording is not stopped by disable.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt address</dd>
                                            
                                            
                                            
                                            <dd><code>trigger</code> - the type of trigger</dd>
                                            
                                            
                                            
                                            <dd><code>secret</code> - if the secret is provided the offline recordings are encrypted in deviceProduces: &lt;BR&gt;&lt;/BR&gt; - onComplete offline recording trigger set successfully &lt;BR&gt;&lt;/BR&gt; - onError  offline recording trigger set failed.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getOfflineRecordingTriggerSetup(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockListLast"
                                          >
                                    <li class="blockList">
                                        <h4>getOfflineRecordingTriggerSetup</h4>
                                        <pre class="methodSignature"> abstract Single&lt;<a href=model/PolarOfflineRecordingTrigger.html>PolarOfflineRecordingTrigger</a>&gt; <a href=PolarOfflineRecordingApi.html#getOfflineRecordingTriggerSetup(String)>getOfflineRecordingTriggerSetup</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> identifier)</pre>
                                        <div class="block"><p>Retrieves the current offline recording trigger setup in the device.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>identifier</code> - Polar device id found printed on the sensor/device or bt addressProduces: &lt;BR&gt;&lt;/BR&gt; - onSuccess the offline recording trigger setup in the device &lt;BR&gt;&lt;/BR&gt; - onError fetch recording request failed</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
    </div>
</main>
<footer role="contentinfo">
    <nav role="navigation">
        <!-- ======= START OF BOTTOM NAVBAR ====== -->
        <div class="bottomNav"><a id="navbar.bottom">
            <!--   -->
        </a>
            <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
            </div>
            <a id="navbar.bottom.firstrow">
                <!--   -->
            </a>
            <ul class="navList" title="Navigation">
    <li><a href="../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
        <a id="skip.navbar.bottom">
            <!--   -->
        </a>
        <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
    </nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
    style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>
